.modal {
  z-index: 99999;
}

.ui-modal-alert {
  width: 400px;
  background: #261613;
  text-align: center;
}

.ui-modal-alert-content {
  padding: 20px;
  color: #e7c16a;
  position: relative;
}

.ui-modal-alert-close {
  position: absolute;
  top: 10px;
  right: 10px;
  transition: all .2s;
  cursor: pointer;

  .icon {
    font-size: 24px;
  }
}

.ui-modal-alert-info {
  margin-bottom: 20px;
  font-size: 16px;

  &:before {
    content: '';
    display: block;
    margin: auto;
    margin-bottom: 20px;
    width: 150px;
    height: 80px;
    background: data-uri('../img/logo.png') no-repeat center center;
    background-size: cover;
  }
}

.ui-modal-alert-action {
  text-align: center;

  > a {
    display: inline-block;
    height: 45px;
    line-height: 45px;
    border-radius: 5px;
    background: #45070a;
    color: #e7c16a;
    width: 170px;
    font-size: 16px;
    padding: 0 15px;

    .text-overflow();
  }
}

#regModal {
  .modal-dialog {
    top: 100px;
    width: 760px;

    .modal-content {
      height: 593px;
      background: data-uri('../img/reg-modal.png') no-repeat center center;

      .modal-body {
        padding: 50px;
      }
    }
  }

  h3 {
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 16px;
  }

  .regModal-explain {
    li {
      margin-top: 10px;
      font-size: 15px;
      color: #666;

      &:first-child {
        margin-top: 0;
      }
    }
  }

  .regModal-ad {
    font-size: 0;
    margin-bottom: 20px;
    text-align: center;
  }
}

.regModal-submit {
  width: 192px;
  height: 45px;
  background: data-uri('../img/reg-submit.png') no-repeat center center;
  text-indent: -9999em;
  border: none;
  border-radius: 0;

  &:hover {
    background: data-uri('../img/reg-submit.png') no-repeat center center;    
  }
}

.regModal-close {
  width: 44px;
  height: 44px;
  background: data-uri('../img/reg-close.png') no-repeat center center;
  cursor: pointer;
  position: absolute;
  right: -50px;
  top: -10px;
  z-index: 999;
  transition: all .3s;

  &:hover {
    transform: rotate(180deg);
  }
}

#regModal-swiper {
  height: 145px;
  margin-bottom: 20px;
}

.regModal-swiper .swiper-slide img{
  width: 100%;
}

.modal.modal-custom .modal-body {
  padding: 0;
}

.modal.modal-custom .modal-content {
  border-radius: 0;
  border: none;
}

.modal.modal-custom .modal-dialog {
  position: relative;
  top: 60px;
}

.modal-custom-close {
  position: absolute;
  width: 54px;
  height: 54px;
  line-height: 54px;
  text-align: center;
  background: #781803;
  transition: all .2s;
  color: #fff;
  right: -54px;
  top: -27px;
  z-index: 999;
  cursor: pointer;

  .icon {
    font-size: 28px;
    display: inline-block;
  }
}